(* set lowest led according to button status *)
MEM ledr = 1136, buttonr = 1140;

BEGIN
    ledr := 0;
    WHILE 1 = 1 DO
        ledr := buttonr
    END
END.
